package com.hnust.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hnust.entity.Device;
import com.hnust.entity.dto.DeviceDto;
import com.hnust.entity.dto.DeviceSum;

/**
 * 创建人：zhangRuWang
 * 创建时间：2022/5/5
 * 描述：
 */
public interface DeviceService extends IService<Device> {
    DeviceSum deviceSum();

    Page<DeviceDto> deviceSearch(int page, int pageSize, String deviceType, String deviceName);

    void deviceToDto(DeviceDto deviceDto,Device device);

    void deviceAdd(DeviceDto deviceDto);

    void deviceModify(DeviceDto deviceDto);
}
